package com.shengbangtec.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shengbangtec.model.TBackSalaryClueDO;
import com.shengbangtec.vo.CaseManagerVO;
import com.shengbangtec.vo.ClueInfoEveryDayVO;
import com.shengbangtec.vo.ClueInfoForCityVO;
import com.shengbangtec.vo.ClueInfoForMapVO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LBY
 * @since 2021-07-05
 */
public interface TBackSalaryClueService extends IService<TBackSalaryClueDO> {

    /**
     * 石家庄线索详情
     * @return
     */
    ClueInfoForCityVO clueInfoForCity();

    /**
     * 地图
     * @return
     */
    List<ClueInfoForMapVO> clueInfoForMap();

    /**
     *  每日线索走势
     * @return
     */
    List<ClueInfoEveryDayVO> clueInfoEveryDay(String areaId);

    /**
     * 接受线索条数/涉及总金额
     * @param type 1:接受线索条数，2：涉及总金额
     * @return
     */
    List<Map<String,Object>> getNumbersOfClues(String type);

    /**
     * 建设领域饼状图
     * @return
     */
    Map<String,Object> getConstructionField(String type);

    /**
     * 待接收线索
     * @return
     */
    List<Map<String,Object>> getStayReceiveClues();


    /**
     *  办结线索对比
     * @return
     */
    Map<String,Object> handleCountCompare(String areaId);

    /**
     *  已解决人数对比
     * @return
     */
    Map<String,Object> handlePeopleCompare(String areaId);

    /**
     *  已解决总金额对比
     * @return
     */
    Map<String,Object> handleAmountCompare(String areaId);

}
